import base64
import json
import random
import secrets
import time
import uuid

from app.chatgpt.arkose.dcrypto import BDACrypto
from app.chatgpt.arkose.utils import x64hash128

webgl_extensions_1 = "ANGLE_instanced_arrays;EXT_blend_minmax;EXT_clip_control;EXT_color_buffer_half_float;EXT_depth_clamp;EXT_float_blend;EXT_frag_depth;EXT_polygon_offset_clamp;EXT_shader_texture_lod;EXT_texture_compression_bptc;EXT_texture_compression_rgtc;EXT_texture_filter_anisotropic;EXT_texture_mirror_clamp_to_edge;EXT_sRGB;OES_element_index_uint;OES_fbo_render_mipmap;OES_standard_derivatives;OES_texture_float;OES_texture_float_linear;OES_texture_half_float;OES_texture_half_float_linear;OES_vertex_array_object;WEBGL_color_buffer_float;WEBGL_compressed_texture_astc;WEBGL_compressed_texture_etc;WEBGL_compressed_texture_etc1;WEBGL_compressed_texture_s3tc;WEBGL_compressed_texture_s3tc_srgb;WEBGL_debug_renderer_info;WEBGL_debug_shaders;WEBGL_depth_texture;WEBGL_draw_buffers;WEBGL_lose_context;WEBGL_multi_draw;WEBGL_polygon_mode"
webgl_extensions_2 = "ANGLE_instanced_arrays;EXT_blend_minmax;EXT_clip_control;EXT_color_buffer_half_float;EXT_depth_clamp;EXT_disjoint_timer_query;EXT_float_blend;EXT_frag_depth;EXT_polygon_offset_clamp;EXT_shader_texture_lod;EXT_texture_compression_bptc;EXT_texture_compression_rgtc;EXT_texture_filter_anisotropic;EXT_texture_mirror_clamp_to_edge;EXT_sRGB;KHR_parallel_shader_compile;OES_element_index_uint;OES_fbo_render_mipmap;OES_standard_derivatives;OES_texture_float;OES_texture_float_linear;OES_texture_half_float;OES_texture_half_float_linear;OES_vertex_array_object;WEBGL_blend_func_extended;WEBGL_color_buffer_float;WEBGL_compressed_texture_s3tc;WEBGL_compressed_texture_s3tc_srgb;WEBGL_debug_renderer_info;WEBGL_debug_shaders;WEBGL_depth_texture;WEBGL_draw_buffers;WEBGL_lose_context;WEBGL_multi_draw;WEBGL_polygon_mode"


def get_new_bda(bda, decrypt_user_agent, timestamp, encipher_user_agent):
    key = decrypt_user_agent + str(timestamp)
    crypto = BDACrypto(key)
    raw_fingeprint = json.loads(base64.b64decode(bda))
    fingerprint_list = json.loads(crypto.decrypt(raw_fingeprint).decode())
    # new_fingerprint_list = fingerprint
    #
    fingerprint_dict = {i['key']: i['value'] for i in fingerprint_list}
    fingerprint_dict['n'] = base64.b64encode(str(int(time.time())).encode("utf-8")).decode("utf-8")
    fingerprint_dict['wh'] = secrets.token_hex(16) + '|72627afbfd19a741c7da1732218301ac'
    jsbd = {"HL": random.randint(1, 20), "NCE": True, "DT": "", "NWD": "false", "DMTO": 1, "DOTO": 1}
    fingerprint_dict['jsbd'] = json.dumps(jsbd, separators=(',', ':'))

    """ fe 处理
    逆向详情 关键词 var mn = function(t), DNT
    https://tcr9i.openai.com/v2/2.9.0/enforcement.b3b1c9343f2ef3887d61d74272d6a3af.js
    """
    fe = fingerprint_dict['fe']
    fe_dict = {i.split(':')[0]: i.split(':')[1] for i in fe}
    width, height = fe_dict['S'].split(',')
    fe_dict['AS'] = fe_dict['S']
    new_fe = ["{}:{}".format(k, v) for k, v in fe_dict.items()]
    fingerprint_dict['fe'] = new_fe

    # 重新计算 ife_hash
    fingerprint_dict['ife_hash'] = x64hash128(", ".join(fingerprint_dict['fe']), 38)

    """ enhanced_fp 处理
        逆向详情 关键词 var mn = function(t), _e.Jx,  M = function(e)
    https://tcr9i.openai.com/v2/2.9.0/enforcement.b3b1c9343f2ef3887d61d74272d6a3af.js
    """
    enhanced_fp = fingerprint_dict['enhanced_fp']
    enhanced_fp_dict = {i['key']: i['value'] for i in enhanced_fp}
    enhanced_fp_dict['screen_pixel_depth'] = int(fe_dict['D'])
    enhanced_fp_dict['window_outer_width'] = int(width)
    enhanced_fp_dict['window_outer_height'] = int(height)
    enhanced_fp_dict['1l2l5234ar2'] = str(int(time.time() * 1000)) + '\u2063',
    enhanced_fp_dict['4b4b269e68'] = str(uuid.uuid4())

    enhanced_fp_dict.pop("d4a306884c", None)
    enhanced_fp_dict.pop("4ca87df3d1", None)
    enhanced_fp_dict.pop("867e25e5d4", None)
    webgl_extensions_arr = enhanced_fp_dict["webgl_extensions"].split(";")
    enhanced_fp_dict['webgl_extensions'] = ";".join(
        random.sample(webgl_extensions_arr, k=random.randint(18, len(webgl_extensions_arr))))
    enhanced_fp_dict["webgl_extensions_hash"] = x64hash128(enhanced_fp_dict['webgl_extensions'], 0)
    enhanced_fp_dict['webgl_hash_webgl'] = x64hash128(','.join(
        value for key, value in enhanced_fp_dict.items() if key.startswith('webgl_') and key != 'webgl_hash_webgl'), 0)
    new_enhanced_fp_list = [{'key': k, 'value': v} for k, v in enhanced_fp_dict.items()]
    fingerprint_dict['enhanced_fp'] = new_enhanced_fp_list
    # print(enhanced_fp_dict)

    new_fingerprint_list = [{'key': k, 'value': v} for k, v in fingerprint_dict.items()]

    # from app.chatgpt.arkose.fingerprint import get_new_fingerprint_list
    # new_fingerprint_list = get_new_fingerprint_list()
    # # print(new_fingerprint_list)
    return generate_bda(new_fingerprint_list, encipher_user_agent)


def generate_bda(fingerprint, user_agent):
    # 生成新的 bda
    timestamp = time.time()
    timestamp = int(timestamp - (timestamp % 21600))

    key = user_agent + str(timestamp)
    crypto = BDACrypto(key)
    fingerprint_str = json.dumps(fingerprint, separators=(',', ':'))

    repacked_bda = json.dumps(crypto.re_encrypt_v2(fingerprint_str), separators=(',', ':'), sort_keys=True)
    new_bda = base64.b64encode(repacked_bda.encode()).decode()

    return {'bda': new_bda, 'X-Ark-Esync-Value': str(timestamp)}


def generate_bda_info(encipher_user_agent):
    # bda = "eyJjdCI6ICIvSFE3U3oxVGRaR1FFM1ZubDVRbzd5Rzd6RlAwdlJ6SGVGK2hiMGl0M3NDM1JHb29GNUMwSDJXZ2x3VGt1SEIrNEExVkdwamtNcHFnSVZCWUZxS1RIYmNaL1FlLys5Sks1aVNSeCtwL3kxMnRPaEttNUlQaG5DU1RqcXl2cCtIa0xLTGIxSS84SGFGZ1g1U1pRK2xz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ml4UERubGNMWVNhaEZxcG5vTitaR2tVc0loaVlGZDA1QUM0ZEIyL05hV2pIUi9DQlJWWklNY3I4NUJsZVBoNHAvd0JFYWwwWmVCQ25obHA3S09SNlhTbi9ITlY0RFJQc1dzOD0iLCAiaXYiOiAiZDE0ZmI3ODQ3MGU1NmZhYWFmNTA1ZDI4NDkxN2QyODMiLCAicyI6ICI1MTYyMWU3MzcwODg1NjNlIn0="
    # decrypt_user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36"
    # x_ark_esync_value = 1726704000

    bda = "eyJjdCI6ImJRZjBPdHhMamtqYys5TWRiZW9kYlhyb2VIYWdicSs3dTNQSitkK1VxSHNET0dOUStmMkNlQjNtZGxUTlo4Z2Q0cGJZVnRWRXlob2tvc0kvdjFqcnFDOTAwTVl3VDhBQVFWaElNbUxra0wvZi9TSHlBdGFQSms2a01yeGhPQUlVc0pzMDEraFJmZjdEUEZHQnVYOWtVQW02UWt0YlFLM1pHOWpQZmtLTDR2QkRxNkhMZE5TVTFNNWlxRDJuS2NwdnJENjZDYU9EemlXcmdOTE5jdVZWK0ZaOFc3R3daOStaTDZiYWc0bmdhN0pnY2t3UGdDNEd5VThjUlc0anFvVEVrRWFibFM3UXVCV3NZUzhDek5zT3BEZG5JVFNCNGRIdzM3bndGUEhrSzRhNFJtS0RVMnN3K3oyem1kUWYvc1Nvd08zb2JFbm8wSG00NzY1NURXeXAyOGFMMHdnMVVuNVlKVHg4S2pLR0EyREhmcnFKQlk3UmIrWXdmUWRUSG9HamE1SHRpb1FwOU5tWVNPYUNTTmFab2Z2SC9ad3JTVG01N1poU2sxbzdYdHA4OUw3ekVZa2wvS05XaElXdzlzUkVwci9ZNm96STVRVmtISmJuZmV3bk1aL3ZvOUQ0THp6anpydDdubktmTmNzcUFadU9aZXdxQXlkMXp2U253eWU1VXNrNjdQMXptR3FwblJPbFR5WFFlenpCRXdwL1JqZF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iNmNkOTIzIiwiaXYiOiIyMDNiOTM2NWQ4Y2I0M2Q3OWE4Mjc3ZDZjMzRmNTE5OCJ9"
    decrypt_user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
    x_ark_esync_value = 1724328000
    bda_info = get_new_bda(bda, decrypt_user_agent, x_ark_esync_value, encipher_user_agent)
    return bda_info
